STEP 3: We can use action commands to move our sprite around the stage.

  • Click on . Drag out a Go To command.

The.go_to() command makes our sprite appear in a certain location instantly.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("space") sprite = codesters.Sprite("ufo") sprite.set_size(0.4)
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)